package com.leha.core.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import java.util.ResourceBundle;

/**
 * 
 * @author Binary Wang
 *
 */
@Configuration
public class WxMaConfig {

  private static final String token = ResourceBundle.getBundle("wx").getString("token");

  private static final String appid = ResourceBundle.getBundle("wx").getString("appid");

  private static final String secret = ResourceBundle.getBundle("wx").getString("secret");

  private static final String aesKey = ResourceBundle.getBundle("wx").getString("aesKey");

  private static final String msgDataFormat = ResourceBundle.getBundle("wx").getString("msgDataFormat");

  public String getMsgDataFormat() {
    return msgDataFormat;
  }

  public String getToken() {
    return this.token;
  }

  public String getAppid() {
    return this.appid;
  }

  public String getSecret() {
    return this.secret;
  }

  public String getAesKey() {
    return this.aesKey;
  }

}
